#!/bin/bash

# deploy do script para todos os rts
# Matheus - 09/01/2015

. consulta_versao_scripts.conf

for i in `seq 0 $COUNT`
do
  echo -n ${RT[$i]}
  echo -ne '   \t'
  scp script_rotas.sh root@${ROTEADOR[$i]}:bin/ >/dev/null 2>&1 && echo OK
done
